"""
    @author:水痕
    @time:2018-04-08 14:45:45:01
    @email:332904234@qq.com
    @version:1.0
    @fileName:main.py
    @describe: 爬虫的debugger的方式
"""

from scrapy.cmdline import execute
import os
import sys

sys.path.append(os.path.dirname(os.path.abspath(__file__)))
execute(['scrapy', 'crawl', '51cto'])
